package com.hckjsec.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会费缴纳对象 sys_membership_cost
 * 
 * @author cyt
 * @date 2021-10-12
 */
public class SysMembershipCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long membershipId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 所属机构 */
    @Excel(name = "所属机构")
    private Long organization;

    /** 缴费年度 */
    @Excel(name = "缴费年度")
    private Long payYear;

    /** 缴纳时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "缴纳时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 缴纳金额 */
    @Excel(name = "缴纳金额")
    private Long payMoney;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public void setMembershipId(Long membershipId) 
    {
        this.membershipId = membershipId;
    }

    public Long getMembershipId() 
    {
        return membershipId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setOrganization(Long organization) 
    {
        this.organization = organization;
    }

    public Long getOrganization() 
    {
        return organization;
    }
    public void setPayYear(Long payYear) 
    {
        this.payYear = payYear;
    }

    public Long getPayYear() 
    {
        return payYear;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setPayMoney(Long payMoney) 
    {
        this.payMoney = payMoney;
    }

    public Long getPayMoney() 
    {
        return payMoney;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("membershipId", getMembershipId())
            .append("deptId", getDeptId())
            .append("organization", getOrganization())
            .append("payYear", getPayYear())
            .append("payTime", getPayTime())
            .append("payMoney", getPayMoney())
            .append("remarks", getRemarks())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
